 <?php
    $pas = $_POST['pas'];
    $page = $_POST['page'];
    $pages = "1";
    $url="http://brisk.eu.org/api/magnet.php?q=".$pas."&n=".$page;
    
    $curl=curl_init();
    curl_setopt($curl,CURLOPT_URL,$url);
    curl_setopt($curl,CURLOPT_RETURNTRANSFER,true);
    $data=curl_exec($curl);
    curl_close($curl);
    
    $json=json_decode($data);
?>
<!doctype html>
        <!--[if lt IE 7]> <html class="lt-ie9 lt-ie8 lt-ie7" lang="en-US"> <![endif]-->
        <!--[if IE 7]>    <html class="lt-ie9 lt-ie8" lang="en-US"> <![endif]-->
        <!--[if IE 8]>    <html class="lt-ie9" lang="en-US"> <![endif]-->
        <!--[if gt IE 8]><!--> <html lang="en-US"> <!--<![endif]-->
        <head>
                <!-- META TAGS -->
                <meta charset="UTF-8" />
                <meta name="viewport" content="width=device-width, initial-scale=1.0">

                <title>磁力链接搜索引擎-搜索结果</title>
                    <meta name="keywords" content="磁力链接,在线观看,免费在线电影,磁力链接搜索引擎,好看的番号,有什么番号比较好看,动作片你懂得,福利,115网盘离线下载" />
                    <meta name="description" content="功能强大的磁力链接搜索引擎，拥有互联网最新最热的BT资源、高效精准的搜索服务、极速稳定的浏览体验，为您提供最好的磁力链接和种子搜索引擎。" />
                <link rel="shortcut icon" href="images/favicon.png" />


                

                <!-- Style Sheet-->
                <!--<link rel="stylesheet" href="style.css"/>-->
                <link rel='stylesheet' id='bootstrap-css-css'  href='css/bootstrap5152.css?ver=1.0' type='text/css' media='all' />
                <link rel='stylesheet' id='responsive-css-css'  href='css/responsive5152.css?ver=1.0' type='text/css' media='all' />
                <link rel='stylesheet' id='pretty-photo-css-css'  href='js/prettyphoto/prettyPhotoaeb9.css?ver=3.1.4' type='text/css' media='all' />
                <link rel='stylesheet' id='main-css-css'  href='css/main5152.css?ver=1.0' type='text/css' media='all' />
                <link rel='stylesheet' id='custom-css-css'  href='css/custom5152.html?ver=1.0' type='text/css' media='all' />


                <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
                <!--[if lt IE 9]>
                <script src="js/html5.js"></script></script>
                <![endif]-->

            <style>
                .form input{
                    background-color: #3f4b55;
                    font-size: 14px;
                    line-height: 19px;
                    font-weight: 600;
                    padding: 14px 30px 15px;
                    color: #fff;
                }
                .css_btn_class {
                	font-size:10px;
                	font-family:Arial;
                	font-weight:normal;
                	-moz-border-radius:6px;
                	-webkit-border-radius:6px;
                	border-radius:6px;
                	border:1px solid #dcdcdc;
                	padding:4px 11px;
                	text-decoration:none;
                	background:-webkit-gradient( linear, left top, left bottom, color-stop(5%, #ededed), color-stop(100%, #dfdfdf) );
                	background:-moz-linear-gradient( center top, #ededed 5%, #dfdfdf 100% );
                	background:-ms-linear-gradient( top, #ededed 5%, #dfdfdf 100% );
                	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf');
                	background-color:#ededed;
                	color:#30303;
                	display:inline-block;
                	text-shadow:1px 1px 0px #ffffff;
                 	-webkit-box-shadow:inset 1px 1px 0px 0px #ffffff;
                 	-moz-box-shadow:inset 1px 1px 0px 0px #ffffff;
                 	box-shadow:inset 1px 1px 0px 0px #ffffff;
                }.css_btn_class:hover {
                	background:-webkit-gradient( linear, left top, left bottom, color-stop(5%, #dfdfdf), color-stop(100%, #ededed) );
                	background:-moz-linear-gradient( center top, #dfdfdf 5%, #ededed 100% );
                	background:-ms-linear-gradient( top, #dfdfdf 5%, #ededed 100% );
                	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed');
                	background-color:#dfdfdf;
                }.css_btn_class:active {
                	position:relative;
                	top:1px;
                }
            </style>
        </head>

        <body>

                <!-- Start of Header -->
                <div class="header-wrapper">
                        <header>
                                <div class="container">


                                        <div class="logo-container">
                                                <!-- Website Logo -->
                                                <a href="/"  title="dong moe">
                                                        <img src="images/logo.png" alt="dong moe">
                                                </a>
                                                <span class="tag-line">cili 链接下载</span>
                                        </div>


                                        <!-- Start of Main Navigation -->
                                        <nav class="main-nav">
                                                <div class="menu-top-menu-container">
                                                        <ul id="menu-top-menu" class="clearfix">
                                                                <li<a href="http://dong.moe">冬日映画</a></li>
                                                        </ul>
                                                </div>
                                        </nav>
                                        <!-- End of Main Navigation -->

                                </div>
                        </header>
                </div>
                <!-- End of Header -->

                <!-- Start of Search Wrapper -->
                <div class="search-area-wrapper">
                        <div class="search-area container">
                                <h3 class="search-header">不知道怎么用？</h3>
                                <p class="search-tag-line">输入关键词、番号、演员名、资源名搜索即可！支持在线播放</p>

                                <form id="search-form" class="search-form clearfix" method="post" action="list.php" autocomplete="off">
                                        <input type="hidden" name="page" value="0">
                                        <input class="search-term required" type="text" id="s" name="pas" placeholder="<?php echo $pas ?>" />
                                        <input class="search-btn" type="submit" value="搜索" />

                                        <div id="search-error-container"></div>
                                </form>
                                        <br /><p class="search-tag-line">由于在线观看播放器并非本站开发，请观看前使用浏览器广告屏蔽插件屏蔽本站所有广告后再进行观看！防止点击弹窗对您观看体验有所影响！</p>
                        </div>
                </div>
                <!-- End of Search Wrapper -->

                <!-- Start of Page Container -->
                <div class="page-container">
                        <div class="container">
                                <div class="row">

                                        <!-- start of page content -->
                                        <div class="span8 main-listing">
                                        <?php

                                            for($i=0;$i != count($json);++$i)
                                            {
                                                echo "<article class=\"format-standard type-post hentry clearfix\">";
                                                        echo "<header class=\"clearfix\">";
                                                                echo "<h3 class=\"post-title\">";
                                                                echo $json[$i]->{'title'};
                                                                echo "</h3>";
                                                                echo "<div class=\"post-meta clearfix\">";
                                                                echo "<span class=\"date\">发布时间:".$json[$i]->{'addtime'}."</span>";
                                                                echo "<span class=\"category\">大小:".$json[$i]->{'size'}."</span>";
                                                                echo "<span class=\"comments\">文件数:".$json[$i]->{'files'}."</span>";
                                                                echo "<span class=\"like-count\">下载数:".$json[$i]->{'downloads'}."</span>";
                                                                echo "</div>";
                                                        echo "</header>";
                                                        echo "<p><a href=".$json[$i]->{'magnet'}.">右键复制链接地址磁力链接</a>    |    使用网盘离线下载更畅快</p></p>";
                                                        echo "<form class=\"links\" action=\"play.php\" method=\"post\"><input type=\"hidden\" name=\"cname\" value=\"".$json[$i]->{'title'}."\"><input type=\"hidden\" name=\"links\" value=\"".$json[$i]->{'magnet'}."\"><input class=\"search-btn\" type=\"submit\" value=\"在线观看\" target=\"_blank\" /></form>";
                                                        echo "<span class=\"comments\">云播尚在测试阶段，如果点播遇到无法加载可以尝试刷新页面或者更换播放源来解决。</span>";
                                                echo "</article>";
                                            }
                                        ?>
                                        <div class="form">
                                        <div style="float:left;">
                                        <form class="pas" action="list.php" method="post">
                                        <input type="hidden" name="pas" value="<?php echo $pas ?>">
                                        <input type="hidden" name="page" value="<?php echo $page-$pages ?>">
                                        <input class="search-btn" type="submit" value="上一页" />
                                        </form>
                                        </div>
                                        <div style="float:right;">
                                        <form class="page" action="list.php" method="post">
                                        <input type="hidden" name="pas" value="<?php echo $pas ?>">
                                        <input type="hidden" name="page" value="<?php echo ++$page ?>">
                                        <input class="search-btn" type="submit" value="下一页" />
                                        </form>
                                        </div>
                                        </div>
                                        </div>
                                        <!-- end of page content -->


                                        <!-- start of sidebar -->
                                        <aside class="span4 page-sidebar">

                                                <section class="widget">
                                                        <div class="support-widget">
                                                                <h3 class="title">搜索词： <strong style="color:red;"><?php echo $pas ?></strong></h3>
                                                                <h3 class="title">当前页数</h3>
                                                                <p class="intro">第 <?php echo $page ?> 页</p>
                                                        </div>
                                                </section>


                                                <section class="widget">
                                                        <h3 class="title">Featured Articles</h3>
                                                        <ul class="articles">
                                                                <li class="article-entry standard">
                                                                        <h4><a href="single.html">Integrating WordPress with Your Website</a></h4>
                                                                        <span class="article-meta">25 Feb, 2013 in <a href="#" title="View all posts in Server &amp; Database">Server &amp; Database</a></span>
                                                                        <span class="like-count">66</span>
                                                                </li>
                                                                <li class="article-entry standard">
                                                                        <h4><a href="single.html">WordPress Site Maintenance</a></h4>
                                                                        <span class="article-meta">24 Feb, 2013 in <a href="#" title="View all posts in Website Dev">Website Dev</a></span>
                                                                        <span class="like-count">15</span>
                                                                </li>
                                                                <li class="article-entry video">
                                                                        <h4><a href="single.html">Meta Tags in WordPress</a></h4>
                                                                        <span class="article-meta">23 Feb, 2013 in <a href="#" title="View all posts in Website Dev">Website Dev</a></span>
                                                                        <span class="like-count">8</span>
                                                                </li>
                                                                <li class="article-entry image">
                                                                        <h4><a href="single.html">WordPress in Your Language</a></h4>
                                                                        <span class="article-meta">22 Feb, 2013 in <a href="#" title="View all posts in Advanced Techniques">Advanced Techniques</a></span>
                                                                        <span class="like-count">6</span>
                                                                </li>
                                                        </ul>
                                                </section>



                                                <section class="widget"><h3 class="title">Categories</h3>
                                                        <ul>
                                                                <li><a href="#" title="Lorem ipsum dolor sit amet,">Advanced Techniques</a> </li>
                                                                <li><a href="#" title="Lorem ipsum dolor sit amet,">Designing in WordPress</a></li>
                                                                <li><a href="#" title="Lorem ipsum dolor sit amet,">Server &amp; Database</a></li>
                                                                <li><a href="#" title="Lorem ipsum dolor sit amet, ">Theme Development</a></li>
                                                                <li><a href="#" title="Lorem ipsum dolor sit amet,">Website Dev</a></li>
                                                                <li><a href="#" title="Lorem ipsum dolor sit amet,">WordPress for Beginners</a></li>
                                                                <li><a href="#" title="Lorem ipsum dolor sit amet, ">WordPress Plugins</a></li>
                                                        </ul>
                                                </section>

                                                <section class="widget">
                                                        <h3 class="title">Recent Comments</h3>
                                                        <ul id="recentcomments">
                                                                <li class="recentcomments"><a href="#" rel="external nofollow" class="url">John Doe</a> on <a href="#">Integrating WordPress with Your Website</a></li>
                                                                <li class="recentcomments">saqib sarwar on <a href="#">Integrating WordPress with Your Website</a></li>
                                                                <li class="recentcomments"><a href="#" rel="external nofollow" class="url">John Doe</a> on <a href="#">Integrating WordPress with Your Website</a></li>
                                                                <li class="recentcomments"><a href="#" rel="external nofollow" class="url">Mr WordPress</a> on <a href="#">Installing WordPress</a></li>
                                                        </ul>
                                                </section>

                                        </aside>
                                        <!-- end of sidebar -->
                                </div>
                        </div>
                </div>
                <!-- End of Page Container -->

                <!-- Start of Footer -->
                <footer id="footer-wrapper">
                        <div id="footer" class="container">
                                <div class="row">

                                        <div class="span3">
                                                <section class="widget">
                                                        <h3 class="title">免责声明</h3>
                                                        <div class="textwidget">
                                                                <p>所有搜索结果本站均不可控制，本站不对任何搜索结果承担任何责任，请事先知晓。 </p>
                                                                <p>文明使用 </p>
                                                        </div>
                                                </section>
                                        </div>

                                        <div class="span3">
                                                <section class="widget"><h3 class="title">合作媒体</h3>
                                                        <ul>
                                                                <li><a href="http://dong.moe" title="Lorem ipsum dolor sit amet,">冬日映画</a> </li>
                                                                <li><a href="#" title="Lorem ipsum dolor sit amet,">百度中国</a></li>
                                                                <li><a href="#" title="Lorem ipsum dolor sit amet,">新浪中国</a></li>
                                                                <li><a href="#" title="Lorem ipsum dolor sit amet,">阿里巴巴</a></li>
                                                                <li><a href="#" title="Lorem ipsum dolor sit amet,">谷歌中国</a></li>
                                                                <li><a href="#" title="Lorem ipsum dolor sit amet,">英特尔</a></li>
                                                        </ul>
                                                </section>
                                        </div>

                                        <div class="span3">
                                                <section class="widget">
                                                        <h3 class="title">内容推荐</h3>
                                                        <div id="twitter_update_list">
                                                                <ul>
                                                                        <li>404 !</li>
                                                                </ul>
                                                        </div>

                                                </section>
                                        </div>

                                        <div class="span3">
                                                <section class="widget">
                                                        <h3 class="title">团队相册</h3>
                                                        <div class="flickr-photos">
                                                        <div class="flickr-photos" id="basicuse">
                                                        <!--<a href="images/top.jpg" title="dong.moe" data-rel="prettyPhoto[flickrg]" rel="prettyPhoto[flickrg]">--><img src="images/top-n.jpg" alt="dong.moe"><!--</a>-->
                                                        <img src="images/top-n.jpg" alt="dong.moe">
                                                        <img src="images/top-n.jpg" alt="dong.moe">
                                                        <img src="images/top-n.jpg" alt="dong.moe">
                                                        <img src="images/top-n.jpg" alt="dong.moe">
                                                        <img src="images/top-n.jpg" alt="dong.moe">
                                                        <img src="images/top-n.jpg" alt="dong.moe">
                                                        <img src="images/top-n.jpg" alt="dong.moe">
                                                        <img src="images/top-n.jpg" alt="dong.moe">
                                                        </div>
                                                        </div>
                                                </section>
                                        </div>

                                </div>
                        </div>
                        <!-- end of #footer -->

                        <!-- Footer Bottom -->
                        <div id="footer-bottom-wrapper">
                                <div id="footer-bottom" class="container">
                                        <div class="row">
                                                <div class="span6">
                                                        <p class="copyright">
                                                                Copyright &copy; 2015.Company name All rights reserved.
                                                        </p>
                                                </div>
                                                <div class="span6">
                                                        <!-- Social Navigation -->
                                                        <ul class="social-nav clearfix">
                                                                <li class="linkedin"><a target="_blank" href="http://dong.moe"></a></li>
                                                                <li class="stumble"><a target="_blank" href="http://dong.moe"></a></li>
                                                                <li class="google"><a target="_blank" href="http://dong.moe"></a></li>
                                                                <li class="deviantart"><a target="_blank" href="http://dong.moe"></a></li>
                                                                <li class="flickr"><a target="_blank" href="http://dong.moe"></a></li>
                                                                <li class="skype"><a target="_blank" href="http://dong.moe"></a></li>
                                                                <li class="rss"><a target="_blank" href="http://dong.moe"></a></li>
                                                                <li class="twitter"><a target="_blank" href="http://dong.moe"></a></li>
                                                                <li class="facebook"><a target="_blank" href="http://dong.moe"></a></li>
                                                        </ul>
                                                </div>
                                        </div>
                                </div>
                        </div>
                        <!-- End of Footer Bottom -->
                </footer>
                <!-- End of Footer -->
                <a href="#top" id="scroll-top"></a>
                <!-- script -->
                <script type='text/javascript' src='http://libs.useso.com/js/jquery/1.8.3/jquery.min.js'></script>
                <script type='text/javascript' src='http://libs.useso.com/js/jquery-easing/1.3/jquery.easing.min.js?ver=1.3'></script>
                <script type='text/javascript' src='js/prettyphoto/jquery.prettyPhotoaeb9.js?ver=3.1.4'></script>
                <script type='text/javascript' src='js/jquery.liveSearchd5f7.js?ver=2.0'></script>
				<!--<script type='text/javascript' src='js/jflickrfeed.js'></script>-->
                <script type='text/javascript' src='js/jquery.formd471.js?ver=3.18'></script>
                <script type='text/javascript' src='js/jquery.validate.minfc6b.js?ver=1.10.0'></script>
                <!--<script type='text/javascript' src='js/custom5152.js?ver=1.0'></script>-->
                <span style="display:none">
                <script type="text/javascript" src="http://tajs.qq.com/stats?sId=43547303" charset="UTF-8"></script>
                </span>
</body>
</html>
